<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>js设计模式之工厂模式</title>
    <script src="../js/factory2.js"></script>
</head>
<body>
    <div class="box">
        <li id="itemLi">2</li>
        <li id="itemLi">1</li>
        <li id="itemLi">3</li>
    </div>
    
</body>
</html>